package com.community.contents.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 投票结果表
 * </p>
 *
 * @author hjs
 * @since 2023-02-28
 */
@TableName("t_vote_result")
@ApiModel(value = "VoteResult对象", description = "投票结果表")
@Data
public class VoteResultEntity implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("ID")
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("用户ID")
      private Integer userId;

      @ApiModelProperty("投票ID")
      private Integer voteId;

      @ApiModelProperty("结果")
      private String result;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;


}
